/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hochschild.sgv.struts.action;

import com.hochschild.sgv.domain.Usuario;
import com.hochschild.sgv.util.ControlPlanificacion;
import com.hochschild.sgv.util.DiasCalendario;
import com.hochschild.sgv.util.FechaUtil;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;

/**
 *
 * @author Christian Alexander Morales Vargas (cmorales.corporacion@gmail.com)
 */
public class PlanificacionVertical extends DispatchAction {

   private static final String SUCCESS = "success";
    private static final String DESCANSO= "rojo";
    private static final String LABORALES= "azul";
    
    public ActionForward cargarPlanificacion(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response)
            throws Exception {
                System.out.println("PlanificacionVertical cargarPlanificacion");
         HttpSession session = request.getSession();
         Usuario usuario = (Usuario) session.getAttribute("session_usuario");
         ControlPlanificacion control= new ControlPlanificacion();
         control.cargarLstVertical(request, usuario);
         
         
         
         
         
        return mapping.findForward("success");
    }
    
   
    
}
